import { createApp } from 'vue'
import App from './App.vue'

// 1. 引入组件库
import Vant from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';

// 引入Vue-router 路由器
import router from "@/router/index.js"

import "@/mock/mockServer.js"

const app = createApp(App)
// 3. 注册你需要的组件
app.use(Vant)
app.use(router)
app.mount('#app')